<template>
  <div class="capital">
    <!-- 标题 -->
    <el-row class="header">
      <el-col :span="2" class="headerImg">
        <img src="../assets/left.png" alt />
      </el-col>
      <el-col :span="22" class="headerTitle">资金明细</el-col>
    </el-row>
    <!-- 资金列表 -->
    <el-row class="amountList">
      <el-col :span="12" class="amount">+600.00</el-col>
      <el-col :span="12" class="amountTime">
        <p class="time">2019-12-54&nbsp;12:12:58</p>
        <p class="congzi">充值</p>
      </el-col>
    </el-row>
    
    
    <el-row class="amountList">
      <el-col :span="12" class="amount">+600.00</el-col>
      <el-col :span="12" class="amountTime">
        <p class="time">2019-12-54&nbsp;12:12:58</p>
        <p class="congzi">充值</p>
      </el-col>
    </el-row>
    <el-row class="amountList">
      <el-col :span="12" class="amount">+600.00</el-col>
      <el-col :span="12" class="amountTime">
        <p class="time">2019-12-54&nbsp;12:12:58</p>
        <p class="congzi">充值</p>
    
      </el-col>

    </el-row>
  </div>
</template>
<script>
export default {
  name: "capital",
  data() {
    return {
      title: "资金明细"
    };
  }
};
</script>
</script>

<style lang="less" scoped>
* {
  font-size: 0.14rem;
}
.capital {
  background: #f8f8f8;
}
.header {
  background: #ffffff;
  height: 0.8rem;
  overflow: hidden;
  border-bottom: 1px solid #f8f8f8;
  .headerImg {
    height: 0.8rem;
    img {
      width: 0.3rem;
      height: 0.5rem;
      overflow: hidden;
      margin-top: 0.15rem;
      float: right;
    }
    // background: red;
  }
  .headerTitle {
    font-size: 0.26rem;
    line-height: 0.8rem;
    text-align: center;
    font-weight: 600;
  }
}
.amountList {
  height: 1.1rem;
  background: #ffffff;
  margin: 0.1rem 0;
  border-bottom: 1px solid #f8f8f8;
  .amount {
    font-size: 0.26rem;
    line-height: 1.1rem;
    text-indent: 0.25rem;
    color: #363636;
    font-weight: 600;
  }
  .amountTime {
    text-align: right;
    font-size: 0.2rem;
    line-height: 0.5rem;
    padding-right: 0.2rem;
    font-weight: 500;
    .time {
      color: #363636;
    }
    .congzi {
      color: #ff0000;
    }
  }
}
</style>